package ${basePackage}.core.aware;

import ${basePackage}.core.constants.Constants;

import java.lang.annotation.*;

/**
 * 数据权限控制注解
 * @author Eva.Caesar Liu
 * @since 2023/08/27 15:22
 */
@Inherited
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface DataPermissionMapping {

    /**
     * 权限类型
     */
    Constants.DataPermission.Type value();

    /**
     * 优先级
     */
    int priority();
}
